import { defHttp } from '@/utils/http/axios'
import { GetAccountInfoModel } from '../demo/model/accountModel'

enum Api {
  GET_RECORDS_LIST = '/data/record/page',
  GET_RECORD_LOGS_LIST = '/data/record/getLogs',
}

export const getRecordsList = (params) =>
  defHttp.get<GetAccountInfoModel>({ url: Api.GET_RECORDS_LIST, params })
export const getRecordLogsList = (params) =>
  defHttp.get<GetAccountInfoModel>({ url: Api.GET_RECORD_LOGS_LIST, params })
